// 用户权限类型
export interface UserPermission {
  region: string[];
  store: string[];
  canViewAll: boolean;
  canExport: boolean;
  canFilter: boolean;
}

// 筛选器类型
export interface FilterOptions {
  region: string;
  store: string;
  timeRange: string;
  startDate?: string;
  endDate?: string;
}

// 数据项类型
export interface DataItem {
  id: string;
  name: string;
  value: number;
  percentage: number;
  trend: 'up' | 'down' | 'stable';
  region: string;
  store: string;
  timestamp: string;
}

// 圆形指标类型
export interface CircleIndicator {
  id: string;
  title: string;
  value: number;
  maxValue: number;
  unit: string;
  color: string;
  percentage: number;
}

// 中心仪表盘数据
export interface CentralDashboard {
  mainValue: number;
  mainUnit: string;
  subItems: Array<{
    label: string;
    value: number;
    color: string;
  }>;
  rotation: number;
}

// 表格数据
export interface TableRow {
  id: string;
  serialNumber: string;
  name: string;
  date: string;
  status: string;
  category: string;
  amount: number;
}

// 侧边面板数据
export interface SidePanelItem {
  label: string;
  value: string;
  color?: string;
}

export interface SidePanelData {
  title: string;
  items: SidePanelItem[];
} 